const scenesList = {
  list: [
    {
      sceneName: '金博楼1栋',
      sceneImage: '金博楼1栋图片',
      sceneDesc: '计科院男生宿舍'
    },
    {
      sceneName: '金博楼2栋',
      sceneImage: '金博楼2栋图片',
      sceneDesc: '计科院男生宿舍'
    },
    {
      sceneName: '逸夫楼1栋',
      sceneImage: '逸夫楼1栋图片',
      sceneDesc: '教学楼'
    },
    {
      sceneName: '博学楼A栋',
      sceneImage: '博学楼A栋图片',
      sceneDesc: '教学楼'
    }
  ],
  total: 3
}

const scenes = {
  list: [
    {
      endScene: '金博楼1栋',
      endSceneDes: '计科院男生宿舍，易班左边楼栋',
      endSceneImage: '金博楼图片',
      distance: '距离大门30米'
    },
    {
      endScene: '金博楼2栋',
      endSceneDes: '计科院男生宿舍，易班左边楼栋',
      endSceneImage: '金博楼图片',
      distance: '距离大门45米'
    }
  ],
  total: 2
}

module.exports = [
  // scenes search 获取场景列表
  {
    url: '/scenes/search',
    type: 'post',
    response: _ => {
      return {
        code: 20000,
        data: scenesList
      }
    }
  },

  // scenes create 添加场景
  {
    url: '/scenes/create',
    type: 'post',
    response: _ => {
      return {
        code: 20000,
        data: 'success'
      }
    }
  },

  // scenes update 修改场景
  {
    url: '/scenes/update',
    type: 'post',
    response: _ => {
      return {
        code: 20000,
        data: 'success'
      }
    }
  },

  // scenes delete 删除场景
  {
    url: '/scenes/delete',
    type: 'post',
    response: _ => {
      return {
        code: 20000,
        data: 'success'
      }
    }
  },

  // scenes search 删除场景
  {
    url: '/scenes/search',
    type: 'post',
    response: _ => {
      return {
        code: 20000,
        data: 'success'
      }
    }
  },

  // scenes getOther/${id} 获取除当前场景以外的场景列表
  {
    url: '/scenes/getOther',
    type: 'get',
    response: _ => {
      return {
        code: 20000,
        data: scenes
      }
    }
  },

  // scenedists create 添加距离
  {
    url: '/scenedists/create',
    type: 'post',
    response: _ => {
      return {
        code: 20000,
        data: 'success'
      }
    }
  },

  // scenedists update 修改距离
  {
    url: '/scenedists/update',
    type: 'post',
    response: _ => {
      return {
        code: 20000,
        data: 'success'
      }
    }
  },

  // scenedists update 修改距离
  {
    url: '/scenedists/update',
    type: 'post',
    response: _ => {
      return {
        code: 20000,
        data: 'success'
      }
    }
  },

  // scenedists update 修改距离
  {
    url: '/scenedists/update',
    type: 'post',
    response: _ => {
      return {
        code: 20000,
        data: 'success'
      }
    }
  },

  // scenedists delete 删除距离
  {
    url: '/scenedists/delete',
    type: 'post',
    response: _ => {
      return {
        code: 20000,
        data: 'success'
      }
    }
  },

  // scenedists getDistById 获取起始点的距离列表
  {
    url: '/scenedists/getDistById',
    type: 'get',
    response: _ => {
      return {
        code: 20000,
        data: scenes
      }
    }
  },
]